package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品分类对象 pro_sort
 * 
 * @author admin
 * @date 2023-10-22
 */
public class ProSort extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品分类id */
    private Long sortId;

    /** 商品分类名称 */
    @Excel(name = "商品分类名称")
    private String name;

    /** 父类id */
    private Long parentId;

    /** 图片 */
    @Excel(name = "图片")
    private String images;

    /** 显示状态 */
    @Excel(name = "显示状态")
    private String status;

    /** 创建者 */
    private String creator;

    public void setSortId(Long sortId) 
    {
        this.sortId = sortId;
    }

    public Long getSortId() 
    {
        return sortId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sortId", getSortId())
            .append("name", getName())
            .append("parentId", getParentId())
            .append("images", getImages())
            .append("status", getStatus())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
